	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phy_force_reduction
_phy_force_reduction:                   ## @phy_force_reduction
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	movl	4(%rdi), %edi
	callq	_phy_find_setting
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	movl	8(%rbx), %esi
	callq	_phy_find_valid
	movq	_settings@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movl	4(%rcx,%rax,8), %esi
	movl	%esi, 4(%rbx)
	movl	(%rcx,%rax,8), %eax
	movl	%eax, (%rbx)
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pr_info                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_settings,8,3                   ## @settings
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Trying %d/%s\n"

	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
L_.str.1:                               ## @.str.1
	.asciz	"FULL"

L_.str.2:                               ## @.str.2
	.asciz	"HALF"

	.no_dead_strip	_phy_force_reduction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phy_force_reduction
_phy_force_reduction:                   ; @phy_force_reduction
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #4]
	ldr	w1, [x19]
	bl	_phy_find_setting
	add	w0, w0, #1
	ldr	w1, [x19, #8]
	bl	_phy_find_valid
Lloh0:
	adrp	x8, _settings@GOTPAGE
Lloh1:
	ldr	x8, [x8, _settings@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, w0, sxtw #3
	ldp	w8, w1, [x8]
	stp	w8, w1, [x19]
Lloh3:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, l_.str.2@PAGE
Lloh7:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh8:
	adrp	x11, l_.str.1@PAGE
Lloh9:
	add	x11, x11, l_.str.1@PAGEOFF
	cmp	w9, w8
	csel	x2, x11, x10, eq
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pr_info
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_settings,8,3                   ; @settings
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Trying %d/%s\n"

	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
l_.str.1:                               ; @.str.1
	.asciz	"FULL"

l_.str.2:                               ; @.str.2
	.asciz	"HALF"

	.no_dead_strip	_phy_force_reduction
.subsections_via_symbols
