	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extract_bdm
_extract_bdm:                           ## @extract_bdm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PPC_OPCODE_POWER4@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_1
## %bb.2:
	movl	%edi, %eax
	andl	$48234496, %eax                 ## imm = 0x2E00000
	cmpl	$12582912, %eax                 ## imm = 0xC00000
	je	LBB0_5
## %bb.3:
	movl	%edi, %eax
	andl	$60817408, %eax                 ## imm = 0x3A00000
	cmpl	$50331648, %eax                 ## imm = 0x3000000
	je	LBB0_5
LBB0_4:
	movl	$1, (%rdx)
LBB0_5:
	movswq	%di, %rax
	andq	$-4, %rax
	popq	%rbp
	retq
LBB0_1:
	movl	%edi, %eax
	shrl	$21, %eax
	movl	%edi, %ecx
	shrl	$15, %ecx
	xorl	%eax, %ecx
	testb	$1, %cl
	jne	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_PPC_OPCODE_POWER4,4,2          ## @PPC_OPCODE_POWER4
	.no_dead_strip	_extract_bdm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extract_bdm
_extract_bdm:                           ; @extract_bdm
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PPC_OPCODE_POWER4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PPC_OPCODE_POWER4@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_5
; %bb.1:
	mov	w8, #48234496
	and	x8, x0, x8
	cmp	x8, #3072, lsl #12              ; =12582912
	b.eq	LBB0_4
; %bb.2:
	mov	w8, #60817408
	and	x8, x0, x8
	mov	w9, #50331648
	cmp	x8, x9
	b.eq	LBB0_4
LBB0_3:
	mov	w8, #1
	str	w8, [x2]
LBB0_4:
	sxth	x8, w0
	and	x0, x8, #0xfffffffffffffffc
	ret
LBB0_5:
	ubfx	x8, x0, #21, #11
	eor	w8, w8, w0, lsr #15
	tbnz	w8, #0, LBB0_3
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PPC_OPCODE_POWER4,4,2          ; @PPC_OPCODE_POWER4
	.no_dead_strip	_extract_bdm
.subsections_via_symbols
