	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function siw_query_port
LCPI0_0:
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	1                               ## 0x1
	.long	4294967295                      ## 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_siw_query_port
	.p2align	4, 0x90
_siw_query_port:                        ## @siw_query_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	callq	_to_siw_dev
	movq	%rax, %r14
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movl	36(%rbx), %eax
	movl	%eax, 40(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [2,2,1,4294967295]
	movups	%xmm0, (%rbx)
	movq	8(%r14), %rax
	movl	(%rax), %edi
	callq	_ib_mtu_int_to_enum
	movl	%eax, 36(%rbx)
	movq	(%r14), %rax
	movq	_IB_PORT_ACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_IB_PORT_PHYS_STATE_LINK_UP@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_IB_PORT_PHYS_STATE_DISABLED@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rbx)
	movl	$1, 16(%rbx)
	movq	_IB_PORT_CM_SUP@GOTPCREL(%rip), %rcx
	movq	_IB_PORT_DEVICE_MGMT_SUP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%edx, 20(%rbx)
	movq	%rax, 24(%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_PORT_ACTIVE,8,3             ## @IB_PORT_ACTIVE
	.comm	_IB_PORT_PHYS_STATE_LINK_UP,4,2 ## @IB_PORT_PHYS_STATE_LINK_UP
	.comm	_IB_PORT_PHYS_STATE_DISABLED,4,2 ## @IB_PORT_PHYS_STATE_DISABLED
	.comm	_IB_PORT_CM_SUP,4,2             ## @IB_PORT_CM_SUP
	.comm	_IB_PORT_DEVICE_MGMT_SUP,4,2    ## @IB_PORT_DEVICE_MGMT_SUP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function siw_query_port
lCPI0_0:
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_siw_query_port
	.p2align	2
_siw_query_port:                        ; @siw_query_port
	.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, x2
	bl	_to_siw_dev
	mov	x20, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	ldr	w8, [x19, #36]
	str	w8, [x19, #40]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [x19]
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_ib_mtu_int_to_enum
	str	w0, [x19, #36]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _IB_PORT_ACTIVE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IB_PORT_ACTIVE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _IB_PORT_PHYS_STATE_LINK_UP@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IB_PORT_PHYS_STATE_LINK_UP@GOTPAGEOFF]
Lloh7:
	adrp	x11, _IB_PORT_PHYS_STATE_DISABLED@GOTPAGE
Lloh8:
	ldr	x11, [x11, _IB_PORT_PHYS_STATE_DISABLED@GOTPAGEOFF]
	cmp	x8, x9
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
	str	w9, [x19, #32]
	mov	w9, #1
Lloh9:
	adrp	x10, _IB_PORT_CM_SUP@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IB_PORT_CM_SUP@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _IB_PORT_DEVICE_MGMT_SUP@GOTPAGE
Lloh13:
	ldr	x11, [x11, _IB_PORT_DEVICE_MGMT_SUP@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	orr	w10, w11, w10
	stp	w9, w10, [x19, #16]
	str	x8, [x19, #24]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_PORT_ACTIVE,8,3             ; @IB_PORT_ACTIVE
	.comm	_IB_PORT_PHYS_STATE_LINK_UP,4,2 ; @IB_PORT_PHYS_STATE_LINK_UP
	.comm	_IB_PORT_PHYS_STATE_DISABLED,4,2 ; @IB_PORT_PHYS_STATE_DISABLED
	.comm	_IB_PORT_CM_SUP,4,2             ; @IB_PORT_CM_SUP
	.comm	_IB_PORT_DEVICE_MGMT_SUP,4,2    ; @IB_PORT_DEVICE_MGMT_SUP
.subsections_via_symbols
